using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class SysRolerightsTable : TableInfo
{
public const string C_TABLENAME = "Sys_Rolerights";

public const string C_ROLERIGHTSID = "ROLERIGHTSID";

public const string C_RIGHTSCODE = "RIGHTSCODE";

public const string C_ROLEID = "ROLEID";

public const string C_DATARIGHTS = "DATARIGHTS";

public const string C_MODULEPRIMARYID = "MODULEPRIMARYID";

public SysRolerightsTable()
{
_tableName = "Sys_Rolerights";
}

protected static SysRolerightsTable _current;
public static SysRolerightsTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new SysRolerightsTable();

_current.Add(C_ROLERIGHTSID, new ColumnInfo(C_ROLERIGHTSID, "", true, typeof(Int32?)));

_current.Add(C_RIGHTSCODE, new ColumnInfo(C_RIGHTSCODE, "", false, typeof(String)));

_current.Add(C_ROLEID, new ColumnInfo(C_ROLEID, "", false, typeof(Int32?)));

_current.Add(C_DATARIGHTS, new ColumnInfo(C_DATARIGHTS, "", false, typeof(String)));

_current.Add(C_MODULEPRIMARYID, new ColumnInfo(C_MODULEPRIMARYID, "", false, typeof(Int32?)));

}

public ColumnInfo ROLERIGHTSID
{
get { return this[C_ROLERIGHTSID]; }
}

public ColumnInfo RIGHTSCODE
{
get { return this[C_RIGHTSCODE]; }
}

public ColumnInfo ROLEID
{
get { return this[C_ROLEID]; }
}

public ColumnInfo DATARIGHTS
{
get { return this[C_DATARIGHTS]; }
}

public ColumnInfo MODULEPRIMARYID
{
get { return this[C_MODULEPRIMARYID]; }
}

}
}